package com.dx.spring6_15.annotation2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.dx.spring6_15.annotation2.controller.UserController;


public class Main {

	public static void main(String[] args) {

		ApplicationContext ctx = new ClassPathXmlApplicationContext("/com/dx/spring6_15/annotation2/annotation2ApplicationContext.xml");
		
		UserController userController = (UserController)ctx.getBean("userController");
		userController.execute();
		
	}
}
